package com.ruoyi.system.domain.vo;

/**
 * 查询对应标题问答记录
 */
public class SjAiChatQuestionAndAnswerVO {

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 标题ID
     */
    private Long titleId;

    /**
     * 标题
     */
    private String title;

    /**
     * 问题
     */
    private String question;

    /**
     * 回答
     */
    private String answer;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Long getTitleId() {
        return titleId;
    }

    public void setTitleId(Long titleId) {
        this.titleId = titleId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    @Override
    public String toString() {
        return "SjAiChatQuestionAndAnswerVO{" +
                "userId='" + userId + '\'' +
                ", titleId=" + titleId +
                ", title='" + title + '\'' +
                ", question='" + question + '\'' +
                ", answer='" + answer + '\'' +
                '}';
    }

    public SjAiChatQuestionAndAnswerVO(String userId, Long titleId, String title, String question, String answer) {
        this.userId = userId;
        this.titleId = titleId;
        this.title = title;
        this.question = question;
        this.answer = answer;
    }

    public SjAiChatQuestionAndAnswerVO(){}
}
